const merge = require('webpack-merge');
const base = require('./config/base');

let config;

if (process.env.NODE_ENV === 'production') {
    config = require('./config/prod');
} else {
    config = require('./config/dev');
}

module.exports = merge(base, config);